package com.yuanfeng.userms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 分销商用户表
 * @TableName user_distributor_apply
 */
@TableName(value ="user_distributor_apply")
@Data
public class UserDistributorApplyEntity implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 添加时间
     */
    private Date addTime;

    /**
     * 结算状态：1允许结算2不能结算
     */
    private Integer statementState;

    /**
     * 用户等级
     */
    private Integer gradeType;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}